using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace MecRobGest.GUI
{
    public partial class GUIQuickAccess : Form
    {
        public GUIQuickAccess()
        {
            InitializeComponent();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            MecRobGest.GUI.GUIProveedorCerca f = new MecRobGest.GUI.GUIProveedorCerca();
            f.MdiParent = this.Parent.FindForm();
            f.Show();
        }

        private void button5_Click(object sender, EventArgs e)
        {
            MecRobGest.GUI.GUINewProveedores f = new MecRobGest.GUI.GUINewProveedores();
            f.MdiParent = this.Parent.FindForm();
            f.Show();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            MecRobGest.GUI.GUINewFacturas f = new MecRobGest.GUI.GUINewFacturas();
            f.MdiParent = this.Parent.FindForm();
            f.Show();
        }

        private void button7_Click(object sender, EventArgs e)
        {
            MecRobGest.GUI.GUITrabajadores f = new MecRobGest.GUI.GUITrabajadores();
            f.MdiParent = this.Parent.FindForm();
            f.Show();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MecRobGest.GUI.GUINewOF f = new MecRobGest.GUI.GUINewOF();
            f.MdiParent = this.Parent.FindForm();
            f.Show();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            MecRobGest.GUI.GUINewMateriales f = new MecRobGest.GUI.GUINewMateriales();
            f.iOT = -1;
            f.MdiParent = this.Parent.FindForm();
            f.Show();
        }

        private void button6_Click(object sender, EventArgs e)
        {
            MecRobGest.GUI.GUITrabajadoresOT f = new MecRobGest.GUI.GUITrabajadoresOT();
            f.MdiParent = this.Parent.FindForm();
            f.Show();
        }

        private void button8_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
    }
}